package com.caigou.mapper.cms;

import com.caigou.bean.cms.entity.ArticleStatisticsDay;
import com.caigou.bean.vo.ChannelHotSearchVo;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface ArticleStatisticsDayMapper {
    int saveArticleStatisticsDay(ArticleStatisticsDay articleStatisticsDay);

    List<ChannelHotSearchVo> loadHotArticleAllChannel(@Param("startDate") Date startDate, @Param("endDate")Date endDate);

    List<ChannelHotSearchVo> loadHotArticleByChannel(@Param("startDate") Date startDate, @Param("endDate")Date endDate, @Param("strPlateId")String strPlateId);
}
